package com.example.hospitalbakcends.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hospitalbakcends.domain.Doctor;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author cac_qin
* @description 针对表【doctor(医生)】的数据库操作Service
* @createDate 2024-05-21 23:42:00
*/
public interface DoctorService extends IService<Doctor> {
    Doctor doctorLogin(String doctorAccount, String doctorPassword, HttpServletRequest httpServletRequest);

    String doctorRegister(String doctorName, String doctorPassword, String doctorCheckPwd,String department);

    Doctor serchDoctorByName(String doctorName);

    List<Doctor> Bydepartmentlist(String department);

}
